<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/ipc/internal/IpcClient.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b94456e2763cc4ff61641ee1fd517631.html">ipc</a></li><li class="navelem"><a class="el" href="dir_08f7e595e04b6b21bd129111ec77a9cc.html">internal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">IpcClient.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_ipc_client_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __IPCCLIENT_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __IPCCLIENT_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_ipc_base_8h.html">IpcBase.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../../socket/internal/MacroTools.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;../../stream/internal/StringImp.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<a class="code" href="_ipc_client_8h.html#a61c576a3ecf77474c8ff27b962bd3a45">EXPORT_SHARED_PTR</a>(<a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a>, <a class="code" href="class_c_io_port_service.html">CIoPortService</a>);</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a>;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_c_ipc_client.html">   10</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_c_ipc_client.html">CIpcClient</a> : <span class="keyword">public</span> <a class="code" href="class_c_ipc_base.html">CIpcBase</a></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="class_c_ipc_base.html#a50fd5d5028af1c6571dd95237ae1f329">delete_class_copy_operator</a>(<a class="code" href="class_c_ipc_client.html">CIpcClient</a>);</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_c_ipc_client.html#a90cd668bf75e248f26a7aaa3346dd397">   14</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_client.html#a90cd668bf75e248f26a7aaa3346dd397">AsyncAccept</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp; cliSock, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker <span class="comment">/* = NullPtr */</span>){}</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <a class="code" href="class_c_ipc_client.html">CIpcClient</a>(<span class="keywordtype">bool</span> isWriteLog);</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    ~<a class="code" href="class_c_ipc_client.html">CIpcClient</a>();</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_ipc_base.html#a5a5914d94853f219cf29fe2ac2f180bb">Init</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a6c40054e6d91ce0525d74ac6abf49585">AsyncConnect</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a7ac54eec0026aea52efa31afe9e6124a">AsyncRead</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_c_stream_iteator.html">CStreamIteator</a>&amp; buff, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a3bf5a3329bf79e2547174c91f4b08342">AsyncSend</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp; sock, <span class="keyword">const</span> <a class="code" href="class_c_stream_iteator.html">CStreamIteator</a>&amp; buff, <span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a20b14ba63abe4e4b2dfa480a6731bf6e">Post</a>(<span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a>&amp; func, <span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_ipc_base.html#a72e867483b13c9e3a046220994a914b7">Run_One</a>();</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_ipc_base.html#a460752b53138378d7e150b8312232896">Run</a>();</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a8a4af718a839d201a17b4d76c6771877">NotifyStop</a>();</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_ipc_base.html#ad0342ce18d24de46f86c99261ed44f8e">IsStop</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a96dec13698548235d67bd5d02863a4e0">WaitServerStop</a>();</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_io_port_service.html">CIoPortService</a>* <a class="code" href="class_c_ipc_base.html#a27cae150a0f3f6b2d3f6a600a35d3e0b">GetIoPortService</a>();</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a067d66da4f1b413903e1c4da964dcf16">DelTimer</a>(<a class="code" href="class_c_timer_base.html">CTimerBase</a>&amp; timer);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_c_ipc_base.html#afb7b94ece1b0621c027cceb46081262e">UpdateTimer</a>(<a class="code" href="class_c_timer_base.html">CTimerBase</a>&amp; timer);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_ipc_base.html#a91e0f3a46b25f2d5fb3a635c5095a0e3">SetTimer</a>(<a class="code" href="class_c_timer_base.html">CTimerBase</a>&amp; timer);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keyword">static</span> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="_sock_data_8h.html#ae8573b45542da05c99e8e2154032d606">IoCompleteFunc</a>(<a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a>* o);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="class_c_ipc_client.html#a90a9a8b8dbc9b65a678c406d7f93abc7">   83</a></span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;CIoPortService&gt;</a> <a class="code" href="class_c_ipc_client.html#a90a9a8b8dbc9b65a678c406d7f93abc7">_service</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_c_ipc_client.html#a7185d82c5da6f89a773593afa834f054">   84</a></span>&#160;    StringImp&lt;std::string&gt; <a class="code" href="class_c_ipc_client.html#a7185d82c5da6f89a773593afa834f054">_addr</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;};</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">#endif // __IPCCLIENT_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_c_ipc_base_html_ad0342ce18d24de46f86c99261ed44f8e"><div class="ttname"><a href="class_c_ipc_base.html#ad0342ce18d24de46f86c99261ed44f8e">CIpcBase::IsStop</a></div><div class="ttdeci">virtual bool IsStop() const =0</div><div class="ttdoc">判断服务是否停止</div></div>
<div class="ttc" id="aclass_c_sock_error_html"><div class="ttname"><a href="class_c_sock_error.html">CSockError</a></div><div class="ttdoc">套接字错误信息类</div><div class="ttdef"><b>Definition:</b> <a href="_sock_error_8h_source.html#l00013">SockError.h:13</a></div></div>
<div class="ttc" id="a_ipc_client_8h_html_a61c576a3ecf77474c8ff27b962bd3a45"><div class="ttname"><a href="_ipc_client_8h.html#a61c576a3ecf77474c8ff27b962bd3a45">EXPORT_SHARED_PTR</a></div><div class="ttdeci">DEF_BEG_LIBTOOLS EXPORT_SHARED_PTR(LIBTOOLS, CIoPortService)</div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a50fd5d5028af1c6571dd95237ae1f329"><div class="ttname"><a href="class_c_ipc_base.html#a50fd5d5028af1c6571dd95237ae1f329">CIpcBase::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(CIpcBase)</div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a72e867483b13c9e3a046220994a914b7"><div class="ttname"><a href="class_c_ipc_base.html#a72e867483b13c9e3a046220994a914b7">CIpcBase::Run_One</a></div><div class="ttdeci">virtual bool Run_One()=0</div><div class="ttdoc">运行服务一次</div></div>
<div class="ttc" id="aclass_c_stream_iteator_html"><div class="ttname"><a href="class_c_stream_iteator.html">CStreamIteator</a></div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00011">StreamByte.h:11</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html"><div class="ttname"><a href="class_shared_ptr.html">SharedPtr&lt; HandleBase &gt;</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a460752b53138378d7e150b8312232896"><div class="ttname"><a href="class_c_ipc_base.html#a460752b53138378d7e150b8312232896">CIpcBase::Run</a></div><div class="ttdeci">virtual bool Run()=0</div><div class="ttdoc">运行服务</div></div>
<div class="ttc" id="a_ipc_base_8h_html"><div class="ttname"><a href="_ipc_base_8h.html">IpcBase.h</a></div></div>
<div class="ttc" id="aclass_c_ipc_client_html_a90a9a8b8dbc9b65a678c406d7f93abc7"><div class="ttname"><a href="class_c_ipc_client.html#a90a9a8b8dbc9b65a678c406d7f93abc7">CIpcClient::_service</a></div><div class="ttdeci">SharedPtr&lt; CIoPortService &gt; _service</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_client_8h_source.html#l00083">IpcClient.h:83</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a20b14ba63abe4e4b2dfa480a6731bf6e"><div class="ttname"><a href="class_c_ipc_base.html#a20b14ba63abe4e4b2dfa480a6731bf6e">CIpcBase::Post</a></div><div class="ttdeci">virtual void Post(const SharedPtr&lt; HandleBase &gt; &amp;func, void *invoker=NullPtr)=0</div><div class="ttdoc">投递一个中断请求</div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a6c40054e6d91ce0525d74ac6abf49585"><div class="ttname"><a href="class_c_ipc_base.html#a6c40054e6d91ce0525d74ac6abf49585">CIpcBase::AsyncConnect</a></div><div class="ttdeci">virtual void AsyncConnect(CIpcSocket &amp;sock, const SharedPtr&lt; HandleBase &gt; &amp;func, void *invoker=NullPtr)=0</div><div class="ttdoc">投递一个连接请求</div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="aclass_c_ipc_client_html_a90cd668bf75e248f26a7aaa3346dd397"><div class="ttname"><a href="class_c_ipc_client.html#a90cd668bf75e248f26a7aaa3346dd397">CIpcClient::AsyncAccept</a></div><div class="ttdeci">virtual void AsyncAccept(CIpcSocket &amp;cliSock, const SharedPtr&lt; HandleBase &gt; &amp;func, void *invoker)</div><div class="ttdoc">投递一个接收连接请求</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_client_8h_source.html#l00014">IpcClient.h:14</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a96dec13698548235d67bd5d02863a4e0"><div class="ttname"><a href="class_c_ipc_base.html#a96dec13698548235d67bd5d02863a4e0">CIpcBase::WaitServerStop</a></div><div class="ttdeci">virtual void WaitServerStop()=0</div><div class="ttdoc">通知服务停止并等待</div></div>
<div class="ttc" id="a_sock_data_8h_html_ae8573b45542da05c99e8e2154032d606"><div class="ttname"><a href="_sock_data_8h.html#ae8573b45542da05c99e8e2154032d606">IoCompleteFunc</a></div><div class="ttdeci">DWORD(* IoCompleteFunc)(OVERLAPPED_EX *oved)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00017">SockData.h:17</a></div></div>
<div class="ttc" id="aclass_c_timer_base_html"><div class="ttname"><a href="class_c_timer_base.html">CTimerBase</a></div><div class="ttdoc">定时器</div><div class="ttdef"><b>Definition:</b> <a href="_timer_8h_source.html#l00017">Timer.h:17</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a067d66da4f1b413903e1c4da964dcf16"><div class="ttname"><a href="class_c_ipc_base.html#a067d66da4f1b413903e1c4da964dcf16">CIpcBase::DelTimer</a></div><div class="ttdeci">virtual void DelTimer(CTimerBase &amp;timer)=0</div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html"><div class="ttname"><a href="class_c_ipc_base.html">CIpcBase</a></div><div class="ttdoc">进程间通信基类</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_base_8h_source.html#l00014">IpcBase.h:14</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a></div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00063">SockData.h:63</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a91e0f3a46b25f2d5fb3a635c5095a0e3"><div class="ttname"><a href="class_c_ipc_base.html#a91e0f3a46b25f2d5fb3a635c5095a0e3">CIpcBase::SetTimer</a></div><div class="ttdeci">virtual void SetTimer(CTimerBase &amp;timer)=0</div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a7ac54eec0026aea52efa31afe9e6124a"><div class="ttname"><a href="class_c_ipc_base.html#a7ac54eec0026aea52efa31afe9e6124a">CIpcBase::AsyncRead</a></div><div class="ttdeci">virtual void AsyncRead(CIpcSocket &amp;sock, const CStreamIteator &amp;buff, const SharedPtr&lt; HandleBase &gt; &amp;func, void *invoker=NullPtr)=0</div><div class="ttdoc">投递一个接收请求</div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a5a5914d94853f219cf29fe2ac2f180bb"><div class="ttname"><a href="class_c_ipc_base.html#a5a5914d94853f219cf29fe2ac2f180bb">CIpcBase::Init</a></div><div class="ttdeci">CSockError Init(CSocket &amp;sock, bool isServer=false)</div><div class="ttdoc">初始化服务类函数</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_base_8h_source.html#l00018">IpcBase.h:18</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_afb7b94ece1b0621c027cceb46081262e"><div class="ttname"><a href="class_c_ipc_base.html#afb7b94ece1b0621c027cceb46081262e">CIpcBase::UpdateTimer</a></div><div class="ttdeci">virtual bool UpdateTimer(CTimerBase &amp;timer)=0</div></div>
<div class="ttc" id="atools_8h_html_a798af1e30bc65f319c1a246cecf59e39"><div class="ttname"><a href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a></div><div class="ttdeci">unsigned int DWORD</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00134">tools.h:134</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a27cae150a0f3f6b2d3f6a600a35d3e0b"><div class="ttname"><a href="class_c_ipc_base.html#a27cae150a0f3f6b2d3f6a600a35d3e0b">CIpcBase::GetIoPortService</a></div><div class="ttdeci">virtual CIoPortService * GetIoPortService()=0</div><div class="ttdoc">返回底层服务指针</div></div>
<div class="ttc" id="aclass_c_io_port_service_html"><div class="ttname"><a href="class_c_io_port_service.html">CIoPortService</a></div><div class="ttdef"><b>Definition:</b> <a href="_io_port_service_8h_source.html#l00032">IoPortService.h:32</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a8a4af718a839d201a17b4d76c6771877"><div class="ttname"><a href="class_c_ipc_base.html#a8a4af718a839d201a17b4d76c6771877">CIpcBase::NotifyStop</a></div><div class="ttdeci">virtual void NotifyStop()=0</div><div class="ttdoc">通知服务停止</div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="aclass_c_ipc_client_html_a7185d82c5da6f89a773593afa834f054"><div class="ttname"><a href="class_c_ipc_client.html#a7185d82c5da6f89a773593afa834f054">CIpcClient::_addr</a></div><div class="ttdeci">StringImp&lt; std::string &gt; _addr</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_client_8h_source.html#l00084">IpcClient.h:84</a></div></div>
<div class="ttc" id="aclass_c_ipc_base_html_a3bf5a3329bf79e2547174c91f4b08342"><div class="ttname"><a href="class_c_ipc_base.html#a3bf5a3329bf79e2547174c91f4b08342">CIpcBase::AsyncSend</a></div><div class="ttdeci">virtual void AsyncSend(CIpcSocket &amp;sock, const CStreamIteator &amp;buff, const SharedPtr&lt; HandleBase &gt; &amp;func, void *invoker=NullPtr)=0</div><div class="ttdoc">投递一个写请求</div></div>
<div class="ttc" id="aclass_c_ipc_socket_html"><div class="ttname"><a href="class_c_ipc_socket.html">CIpcSocket</a></div><div class="ttdoc">ipc通信专用套接字</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00010">IpcSocket.h:10</a></div></div>
<div class="ttc" id="aclass_c_ipc_client_html"><div class="ttname"><a href="class_c_ipc_client.html">CIpcClient</a></div><div class="ttdef"><b>Definition:</b> <a href="_ipc_client_8h_source.html#l00010">IpcClient.h:10</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
